package com.gitee.mp.domain.condition;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.util.CollectionUtils;

import java.util.List;

/**
 * @author hongda.li
 */
@Data
@Accessors(chain = true)
public class ConditionResult {

    private String expression;

    private List<String> outputFields;

    private Long limit;

    private Long offset;

    private List<List<?>> vectorList;

    public boolean isSearch() {
        return !CollectionUtils.isEmpty(vectorList);
    }
}
